from rest_framework.serializers import ModelSerializer

from .models import *


class TeacherSer(ModelSerializer):
    class Meta:
        model = Teacher
        fields = '__all__'


class StuSer(ModelSerializer):
    class Meta:
        model = Tstu
        fields = '__all__'


class TstuSer(ModelSerializer):
    class Meta:
        model = Tstu
        fields = '__all__'
